package org.xxpay.core.common.pay;

import com.alibaba.fastjson.JSONObject;
import org.xxpay.core.entity.PayOrder;

/**
 * @Date 2020/8/5 14:05
 * @Description 封装商户通知接口
 **/
public interface IBaseNotify4MchPay {

    String createNotifyUrl(PayOrder payOrder, String backType);

    /**
     * 处理支付结果后台服务器通知
     */
    void doNotify(PayOrder payOrder, boolean isFirst);

    JSONObject createNotifyInfo(PayOrder payOrder, boolean isFirst);





}
